package com.truyen.service;

import java.util.List;

import com.truyen.persistence.entity.Account;
import com.truyen.persistence.entity.UserLiked;
import com.truyen.utils.PagingInfo;


public interface UserLikedService {
	
	// tao moi
	void save(UserLiked entity);

	//tim theo id
	UserLiked findById(Long id);

	//lay tat ca
	List<UserLiked> getAll();

	//xoa userliked
	void delete(long idULiked);
	
	UserLiked findByProperty(String column, Object value);

	//tim danh sach user like theo account va co phan trang
	List<UserLiked> getLstByAccountWithPaging(Account account, PagingInfo pInfo);

	UserLiked findByAccount(Account account, String name);

}